package com.cesgroup.zw.spring.boot.library.echarts.bar.move;

import com.cesgroup.zw.spring.boot.charts.model.IChartsParam;
import com.cesgroup.zw.spring.boot.charts.model.IComponent;
import lombok.Builder;
import lombok.Data;

import java.util.Map;

/**
 * @author ytj
 * @date 2019/7/8 9:47
 */
@SuppressWarnings("serial")
@Data
@Builder
public class MoveBarParam implements IChartsParam<MoveBarSeries,Map<Object,Object>> {
    private Map<Object,Object> dataset;

    @Override
    public IComponent[] getSeries() {
        return new IComponent[]{
                new MoveBarSeries(this,"1"),new MoveBarSeries(this,"2"),new MoveBarSeries(this,"3")
        };
    }
}
